using UnityEngine;
using System.Collections;

public class DataLogic : MonoBehaviour
{

	// Use this for initialization
	void Awake ()
	{
		GameObject.Find("DataLogic").GetComponent<DataManager>().SetFaceData ();
		
        //GameObject.Find("SceneDataMgr").GetComponent<SceneDataMgr>();

        
        ResourceMgr.GetInstance().ResourcesLoad();
        

        xmlLoader.GetInstance().Load_Xmls();
        GameObject.Find("DataLogic").GetComponent<DataManager>().SetPerkData();
        GameObject.Find("DataLogic").GetComponent<DataManager>().SetBuildData();
        GameObject.Find("DataLogic").GetComponent<DataManager>().Set_WeaponData_List();
        GameObject.Find("DataLogic").GetComponent<DataManager>().SetClassData();
        GameObject.Find("DataLogic").GetComponent<DataManager>().SetTraitData();
	}


    void Update()
    {

    }

	void OnDestroy(){
	}
}

